img{
    width: 100%;
    border: 0;
}

.banner{
    max-height: 220px;
    margin-bottom: -5px;
}

.navbar-inner .back{
    color: #FA674D;
}

.navbar .right{
    padding-right: calc(var(--f7-block-padding-horizontal) + var(--f7-safe-area-right));
}

.page-content{
    background: #fff;
}

.login-page-content .button{
    color: #fff;
}

.login-page-content .item-media i.f7-icons{
    font-size: 24px;
    color: rgba(0, 0, 0, 0.3);
}

.login-page-content .item-input .item-media{
    align-self: center;
    min-width: 22px;
}

.login-page-content .item-input .get-code-mobile{
    position: absolute;
    top: 22px;
    right: 22px;
    color: rgba(0, 0, 0, 0.3);
    font-size: var(--f7-input-font-size);
    text-decoration: none;
}

.login-page-content .item-input .get-code-mobile.active{
    color: #FA674D;
}

.login-page-content .item-input{
    padding-top: 10px;
    padding-right: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));
}

.login-page-content .list .msg{
    padding-left: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left) + var(--f7-list-item-media-margin));
    margin-left: 22px;
    color: #FA674D;
    font-size: 14px;
}

.login-page-content .list .item-inner{
    padding-right: 0;
    margin-left: 10px;
}

.login-page-content .list ul:before,
.login-page-content .list ul:after{
    display: none;
}

.login-page-content .list ul li .item-inner .item-input-wrap:after{
    display: block;
    content: '';
    position: absolute;
    background-color: var(--f7-list-item-border-color);
    z-index: 15;
    top: auto;
    right: auto;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    transform-origin: 50% 100%;
    transform: scaleY(calc(1 / var(--f7-device-pixel-ratio)));
}

.login-page-content .box{
    padding: 0 50px;
}

.login-page-content .button{
    height: 40px;
    line-height: 40px;
    font-size: 16px;
}

.login-screen{
    position: relative;
    width: 100%;
    height: 190px;
    background-color: #FA674D;
}

.login-screen .head-portrait{
    position: absolute;
    left: 50%;
    bottom: 40px;
    margin-left: -40px;
    box-shadow: 1px -1px 40px 1px #ff0000;
}

.header-box{
    position: relative;
    z-index: 99;
    width: 100%;
    height: 190px;
    color: #fff;
    text-align: center;
    background: rgba(250, 154, 131, 1);
}

.loaded{
    margin-top: 5px;
    color: #666;
    font-size: 14px;
    text-align: center;
}

ul, li{
    list-style: none;
    margin: 0;
    padding: 0;
}

.block-h-box{
    margin: 20px 0 0;
}

.header-box span{
    display: block;
    width: 100%;
    color: #fff;
}

.header-box .title{
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    height 20px;
    line-height: 20px;
    padding: 15px;
}

.header-box .title i{
    float: right;
    font-size: 20px;
}

.block-line-distance{
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin: 15px 0 0;
}

.block-footer{
    font-size: 12px;
}

.block-header b{
    color: #FA674D;
}

.head-portrait{
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    float: right;
    text-align: center;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.head-portrait-big{
    width: 80px;
    height: 80px;
}

.head-portrait img,
.people-head img{
    height: 100%;
}

.section-right-row .col-33 {
    max-height: 100px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.photos-row .col-33{
    width: 28%;
    float: left;
    margin: 4px 6px 4px 0;
}

.photos-row{
    width: 100%;
    overflow: hidden;
}

.active-block .block-footer .info{
    display: inline-block;
    margin-right: 5px;
    margin-left: 10px;
    color: #048C04;
    max-width: 35%;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.active-block .block-footer .button{
    display: inline-block;
    height: 14px;
    line-height: 14px;
}

.timeline-item-date b{
    font-size: 16px;
}


.messages-block .time,
.messages-block .location{
    color: #666;
}

.messages-block p{
    color: #000;
}

.messages-head-icons{
    background: rgba(250, 154, 131, 0.14);
    border: 0;
    color: #FA674D;
}

.messages-head-icons i{
    line-height: 48px;
}

.size-icon32{
    font-size: 32px;
}

.people-list li{
    padding-top: 10px;
}

.people-list .list .item-title .name{
    font-size: 16px;
}

.people-list .list .item-title .phone{
    font-size: 12px;
    color: var(--f7-list-chevron-icon-color);
}

.people-list .list .item-after i{
    font-size: 18px;
    color: #1C971C;
}

.people-list .list .item-after-student i{
    margin-left: 20px;
}

.people-list .list .item-after-student i:nth-child(3){
    color: var(--f7-list-chevron-icon-color);
    font-size: 12px;
}

.people-list a{
    color: #222;
}

.people-list .list .list-group-title{
    height: 40px;
    line-height: 40px;
    /*background: rgba(250, 154, 131, 0.14);*/
}

.people-head{
    width: 34px;
    height: 34px;
    background: #ccc;
    border-radius: 20px;
    text-align: center;
    line-height: 20px;
    overflow: hidden;
}

.toolbar{
    bottom: 0;
}

.fab[class*="-bottom"]{
    bottom: 1px;
}

.page .toolbar a.link{
    padding: 0 22px;
    color: #333;
}

.toolbar a.link.active{
    color: #FA674D;
}

.toolbar + .page-content{
    padding-bottom: 50px;
}

.tabbar .tab-link-active{
    color: #FA674D;
    border-bottom: 2px solid #FA674D;
    font-size: 20px;
    text-decoration: none;
}

.tabs .tab-content{
    display: none;
}

.tabs .tab-content.tab-active{
    display: block;
}

.item-value{
    color: var(--f7-list-item-after-text-color);
    font-size: var(--f7-list-item-after-font-size);
}

.popup-input{
    width: 100%;
}

.popup-input input{
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    height: 40px;
    line-height: 30px;
    font-size: 14px;
    width: 100%;
}

.btn-bottom-fixed{
    position: absolute;
    left: 0;
    bottom: 40px;
    z-index: 99;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.button{
    background-color: #FA674D;
}

.active-block .button,
.messages-block .button{
    background: none;
}

.navbar .button{
    color: #fff;
}

/*.navbar .right{
    right: 20px;
}*/

.button-40{
    height: 40px;
    line-height: 40px;
    font-size: 16px;
}

.textarea-babyphotos{
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: none 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 12px;
}

.block-babyphotos{
    background-color: #fff;
    margin-top: 0;
    padding-top: 15px;
    padding-bottom: 15px;
}

.baby-photos{
    overflow: hidden;
    margin-left: -5px;
    margin-right: -5px;
}

.baby-photos .baby-photos-item{
    float: left;
    width: 25%;
    height: 80px;
    padding: 5px;
    box-sizing: border-box;
    line-height: 70px;
    text-align: center;
    overflow: hidden;
    background-color: transparent;
}

.baby-photos .baby-photos-item-inner{
    position: relative;
    z-index: 9;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.1);
}

.baby-photos .baby-photos-item-inner img{
    height: 100%;
}

.baby-photos .baby-photos-item input[name="photoselector"]{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 70px;
    display: inline-block;
    opacity: 0;
}

.baby-photos .baby-photos-item i{
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    margin: -14px 0 0 -14px;
}

.chip-box{
    margin-bottom: 0;
}

.chip-title{
    display: inline-flex;
    color: rgba(0, 0, 0, 0.4);
    margin-right: 10px;
}

.share-link{
    margin-top: 0;
    border-top: 0;
}

.share-link a{
    position: relative;
    display: block;
    color: #222;
}

.share-link i{
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -10px;
    font-size: 20px;
    color: rgba(0, 0, 0, 0.3);
}

.share-link .color-yellow,
.color-yellow{
    color: #FA674D;
}

.chip{
    cursor: pointer;
    margin-right: 5px;
}

.tab-link-highlight{
    display: none;
}

.childrearing-page-content .card-header:after{
    display: none;
}

.childrearing-page-content .card-content-padding{
    padding: 0 var(--f7-card-content-padding-vertical) var(--f7-card-content-padding-horizontal);
}

.childrearing-page-content .card-header img{
    border-radius: var(--f7-card-border-radius) var(--f7-card-border-radius) 0 0;
}

.newperson-page-content .item-input .item-relation,
.newperson-page-content .item-input .item-label{
    width: 105px;
    color: var(--f7-label-text-color);
}

.newperson-page-content .smart-select .item-after{
    position: absolute;
    left: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-left) + 103px);
    padding-left: 2px;
    font-size: var(--f7-input-font-size);
    color: var(--f7-input-text-color);
}

.newperson-page-content .list .item-link .item-inner:before{
    display: none;
}

.newperson-page-content .list .item-link{
    width: 100%;
}

.newperson-page-content .list .item-link .item-inner{
    padding-right: calc(var(--f7-list-item-padding-horizontal) + var(--f7-safe-area-right));
}

.newperson-page-content .list .item-input-wrap{
    width: calc(100% - 120px);
}

.people-list{
    margin-top: calc(0px - var(--f7-list-margin-vertical));
}

.timeline-item-divider{
    background-color: rgba(0, 0, 0, 0.08);
}

.timeline-item-date{
    width: 54px;
}

.fab-buttons a, .fab>a{
    background-color: #FA674D;
}

.issue-box{
    display: flex;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.issue-box a{
    display: block;
    width: 33%;
    text-align: center;
}

.issue-box a .head-portrait{
    display: inline-block;
    float: none;
    width: 70px;
    height: 70px;
}

.issue-box a .desc{
    color: #333;
}

.popup-choose .popup-close{
    position: absolute;
    top: 5px;
    right: 5px;
    display: block;
    color: #333;
}


















